package com.teamb6.shop.service;

import com.teamb6.shop.domain.ShopCart;
import com.teamb6.shop.domain.ShopCartExample;
import com.teamb6.shop.domain.ShopCartKey;

import java.util.List;

public interface ShopCartService {
    void addShopCart(ShopCart shopCart);

    List<ShopCart> selectByExample(ShopCartExample shopCartExample);

    void deleteByKey(ShopCartKey shopCartKey);

    void updateCartByKey(ShopCart shopCart);

    ShopCart selectCartByKey(ShopCartKey shopCartKey);
}
